package com.seculab.board.service;

import java.util.List;
import java.util.Map;

import com.seculab.board.domain.Board;
import com.seculab.board.domain.Comment;

public interface BoardService {
	public void insertBoard(Board board) throws Exception;
	public void updateBoard(Board board) throws Exception;
	public List getBoardList(Board board) throws Exception;
	public Map<String, Object> getBoard(Board board) throws Exception;
	
	public void insertComment(Comment comment) throws Exception;
	public int deleteComment(Comment comment) throws Exception;
	public List getCommentList(Comment comment) throws Exception;
	public Map<String, Object> getComment(Comment comment) throws Exception;
}
